package com.share.hope.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Schema(description = "用户评论点赞表")
@TableName(value = "user_likes_posts")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserLikesPosts {

    @TableField(value = "user_id")
    @Schema(description = "用户ID")
    private Long userId;

    @TableField(value = "posts_id")
    @Schema(description = "评论ID")
    private Long postsId;

}
